import request from './network.js'
export function getHomeHelpInfo(lmobile, lid, page, type) {
    return request({
        url: '/infohelp/findInfoHelpByPhone',
        header: {
            'content-type': 'application/json' 
        },
        data: {
            lmobile,
            lid,
            page,
            type
        },
    }).catch(err => {
        wx.showModal({
            title: '提示',
            content: '访问服务器失败！',
            showCancel: false,
            confirmText: '确定',
        })
    })
}
export function getUserInfo(IP, phone) {
    return request({
        url: '/findUserInfo',
        data: {
            IP,
            phone
        }
    })
}